package com.wzdigit.wms.basic.client.request.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.client.Pager;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 仓库列表搜索输入
 * @author yangdongjie
 * @param <T>
 * @GetWarehouseListRequest.java
 * @2020年12月31日下午3:40:49
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SearchWarehouseRequest<T> extends Pager<T> implements Serializable {

	private static final long serialVersionUID = -5812482285373909439L;

    /**
     * 仓库代码
     */
    @ApiModelProperty(value = "仓库代码", required = false)
    private String whsCode;

    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称", required = false)
    private String whsName;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型", required = false)
    private Integer whsType;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", required = false)
    private Integer status;
    
    /**
     * 编码/名称模糊查询
     */
    @ApiModelProperty(value = "编码/名称模糊查询", required = false)
    private String filter;
    
    /**
     * 1(查看自己权限)、0(所有)
     */
    @ApiModelProperty(value = "1(查看自己权限)、0(所有)", required = false)
    private Boolean isOneselfPerm;

}
